-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recognize headless errors on requirement operations #2876
Conversation
MDrakos
commented
Nov 9, 2023
•
edited by github-actions
bot
Loading
edited by github-actions
bot
DX-2224 Remove headless commits |
Test failures are not due to the changes introduced in this PR |
@@ -17,6 +17,8 @@ var ErrNotAuthenticated = errors.New("not authenticated") | |||
|
|||
var ErrActionAborted = errors.New("aborted by user") | |||
|
|||
var ErrHeadless = errors.New("headless") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I view errors in this file as "global" errors. Is this going to be used outside the internal/runbits/requirements package? If not, we should put it in that package and remove it here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Never mind, I think this will be used in user-facing errors for requirement operations like install/uninstall.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing to approved after further thought. This looks good to me.
@@ -17,6 +17,8 @@ var ErrNotAuthenticated = errors.New("not authenticated") | |||
|
|||
var ErrActionAborted = errors.New("aborted by user") | |||
|
|||
var ErrHeadless = errors.New("headless") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Never mind, I think this will be used in user-facing errors for requirement operations like install/uninstall.